package com.topone.service.impl;


import com.topone.dataObject.OrderDetail;
import com.topone.repository.OrderDetailRepository;
import com.topone.service.OrderDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderDetailServiceImpl implements OrderDetailService {

    @Autowired
    private OrderDetailRepository orderDetailRepository;

    @Override
    public OrderDetail findOne(String id) {
        return orderDetailRepository.getOne(id);
    }
}
